home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / telecomm / steno210.lzh / PROGRAM / STENOMSG.H < prev   
Encoding:
C/C++ Source or Header  |  1994-07-11  |  923 b   |  40 lines

  1. /*
  2.  *    stenomsg.h
  3.  *
  4.  *  Header file defining messages understood by STeno.
  5.  *
  6.  *  Copyright © 1989-1993, Eric Rosenquist
  7.  *  Copyright © 1994, Jeffrey A. Krzsztow, Cysco Software
  8.  *
  9.  */
  10.  
  11. typedef union {
  12.     int msg[8];
  13.     struct {
  14.         short msgcode;
  15.         short sender_id;
  16.         short extra_bytes;
  17.         char *line;
  18.         short line_length;
  19.     } append_line_request;
  20.     struct {
  21.         short msgcode;
  22.         short sender_id;
  23.         short extra_bytes;
  24.         short command_flags;
  25.         long line_number;
  26.         char *pointer;
  27.     } hyperedit_request;
  28. } STENO_MSG;
  29.  
  30. /**********************************/
  31. /*  Requests understood by STeno  */
  32. /**********************************/
  33. #define STENO_APPEND_LINE    1000
  34.  
  35. /**********************************/
  36. /*    Errors returned by STeno    */
  37. /**********************************/
  38. #define STENO_ERROR            9998                    /* General purpose error */
  39. #define STENO_BUFFER_FULL    9999                    /* File buffer is full.  */
  40.